<!DOCTYPE html>
<!-- saved from url=(0052)http://getbootstrap.com/docs/4.0/examples/dashboard/ -->
<html lang="en" xmlns:th="http://www.thymeleaf.org">

	<div th:insert="~{dashboard::Topedge}"></div>

	<body>
	<div th:insert="~{common/common::Headedge}"></div>

		<div class="container-fluid">
			<div class="row">
				<!--侧边栏-->
				<div th:insert="~{common/common::Sideedge}"></div>

				<main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">
					<form th:action="@{/addEmployee}" method="post">
						<div class="form-group">
							<label>LastName</label>
							<input type="text"  name="lastName" class="form-control"  placeholder="www">
						</div>
						<div class="form-group">
							<label>Email</label>
							<input type="email" name="email" class="form-control"  placeholder="1234@qq.com">
						</div>

						<div class="form-group">
							<label >Gender</label>
							<div class="form-check form-check-inline">
								<input class="form-check-input" type="radio" name="gender" value="1">
								<label class="form-check-label">男</label>
							</div>
							<div class="form-check form-check-inline">
								<input class="form-check-input" type="radio" name="gender" value="0">
								<label class="form-check-label">女</label>
							</div>
						</div>

						<div class="form-group">
							<label>Department</label>
							<select class="form-control" name="department.id">
								<!--/*@thymesVar id="getDepartmentName" type="java.lang.String"*/-->
								<option th:each="depmt:${depmts}" th:text="${depmt.getDepartmentName()}" th:value="${depmt.getId()}"> </option>
							</select>
						</div>
						<div class="form-group">
							<label>Birthday</label>
							<input type="text" name="birthday" class="form-control"  placeholder="9999-99-99">
						</div>
						<button type="submit" class="btn btn-primary">添加</button>
					</form>
				</main>
			</div>
		</div>

		<!-- Bootstrap core JavaScript
    ================================================== -->
		<!-- Placed at the end of the document so the pages load faster -->
		<script type="text/javascript" src="asserts/js/jquery-3.2.1.slim.min.js"></script>
		<script type="text/javascript" src="asserts/js/popper.min.js"></script>
		<script type="text/javascript" src="asserts/js/bootstrap.min.js"></script>

		<!-- Icons -->
		<script type="text/javascript" src="asserts/js/feather.min.js"></script>
		<script>
			feather.replace()
		</script>

		<!-- Graphs -->
		<script type="text/javascript" src="asserts/js/Chart.min.js"></script>
		<script>
			var ctx = document.getElementById("myChart");
			var myChart = new Chart(ctx, {
				type: 'line',
				data: {
					labels: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
					datasets: [{
						data: [15339, 21345, 18483, 24003, 23489, 24092, 12034],
						lineTension: 0,
						backgroundColor: 'transparent',
						borderColor: '#007bff',
						borderWidth: 4,
						pointBackgroundColor: '#007bff'
					}]
				},
				options: {
					scales: {
						yAxes: [{
							ticks: {
								beginAtZero: false
							}
						}]
					},
					legend: {
						display: false,
					}
				}
			});
		</script>

	</body>

</html>